﻿using WidgetsDesign.API.Models;

namespace WidgetsDesign.API.Services
{
    public interface IRechargeRepository
    {
        public void CreateRechargeCode(RechargeCard rechargeCard);
        public Task<RechargeCard?> GetRechargeCode(string key);
        public Task<bool> ExistUseRechargeCode(string key);
        public void Conversion(RechargeRecord rechargeRecord);
    }
}
